package com.dkm.orproject.dkmoa.service.jurisdiction;

import com.dkm.orproject.dkmoa.domain.OaJurisdiction;
import com.dkm.orproject.utils.utils.ThreeVo;

import java.util.List;

/**
 * @ClassName : JurisdictionService  //类名
 * @Description : 权限服务接口  //描述
 * @Author : 易嵘  //作者
 * @Date: 2020-08-17 09:49  //时间
 */
public interface OaJurisdictionService {

    List<OaJurisdiction> findAll(OaJurisdiction jurisdiction, String startTime, String endTime, Integer page, Integer limit);

    Long rowCount(OaJurisdiction jurisdiction, String startTime, String endTime);

    OaJurisdiction findById(Long id);

    List<OaJurisdiction> findKeyword(String key);

    int update(OaJurisdiction jurisdiction, String personnelName);

    int add(OaJurisdiction jurisdiction, String personnelName);

    List<OaJurisdiction> selectAll(List<Long> list);

    int deleteAll(List<Long> list);

    int deleteById(Long id);

    List<OaJurisdiction> selectAllOne(Long id);

    List<ThreeVo> findByIds(Long role);

    Integer isExist(String keyword);
}
